Skip to content

Fix zip file time#92

Merged
kunitoki merged 2 commits into
mainfrom
dev/fix_zip_file_timings
May 19, 2026
Merged

Fix zip file time#92
kunitoki merged 2 commits into
mainfrom
dev/fix_zip_file_timings

Conversation

@kunitoki
Copy link
Copy Markdown
Owner

This pull request makes a small but important fix to how file times are written in ZIP archives. Specifically, it corrects the encoding of the seconds field to match the ZIP file specification, which requires seconds to be stored in two-second increments.

  • Corrected the encoding of the seconds field in the ZipFile::Builder::Item::writeTimeAndDate method by shifting seconds right by one, ensuring compatibility with the ZIP file format.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.10%. Comparing base (f174142) to head (5d9fce3).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #92   +/-   ##
=======================================
  Coverage   73.09%   73.10%           
=======================================
  Files         571      571           
  Lines       56051    56051           
=======================================
+ Hits        40972    40975    +3     
+ Misses      15079    15076    -3     
Files with missing lines Coverage Δ
modules/yup_core/zip/yup_ZipFile.cpp 85.40% <100.00%> (ø)

... and 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f174142...5d9fce3. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kunitoki kunitoki merged commit 0f4a513 into main May 19, 2026
40 checks passed
@kunitoki kunitoki deleted the dev/fix_zip_file_timings branch May 19, 2026 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant